package com.winterwar.base;

public class RegisteredEvent extends BaseObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4337329885743785024L;
	
	private Integer regEventID;
	private Integer regID;
	private Integer userID;
	private Integer conID;
	private Integer eventID;
	
	private Event event;
	
	private Integer status;

	public Integer getRegEventID() {
		return regEventID;
	}

	public void setRegEventID(Integer regEventID) {
		this.regEventID = regEventID;
	}

	public Integer getRegID() {
		return regID;
	}

	public void setRegID(Integer regID) {
		this.regID = regID;
	}

	public Integer getUserID() {
		return userID;
	}

	public void setUserID(Integer userID) {
		this.userID = userID;
	}

	public Integer getConID() {
		return conID;
	}

	public void setConID(Integer conID) {
		this.conID = conID;
	}

	public Integer getEventID() {
		return eventID;
	}

	public void setEventID(Integer eventID) {
		this.eventID = eventID;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public int hashCode(){
		if(regEventID != null)
			return regEventID.hashCode();
		else {
			Integer x = 0;
			return x.hashCode();
		}
	}

	public Event getEvent() {
		return event;
	}

	public void setEvent(Event event) {
		this.event = event;
	}
}
